package 字符串.easy;

/**
 * @author Lw中
 * @date 2020/8/18 9:44
 */
public class WuErYi {

    public static int findLUSlength(String a, String b) {
        if (a.equals(b)) {
            return -1;
        }
        return Math.max(a.length(), b.length());
    }

    public static void main(String[] args) {
        int luSlength = findLUSlength("abc", "abd");
        System.out.println(luSlength);
    }

}
